package com.awenhui.demo.module.samsql.controller;

import com.awenhui.demo.module.samsql.service.SamsqlDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author yuxf
 * @version 1.0
 * @date 2021/4/23 9:43
 */
@RequestMapping("/samsql/demo")
@RestController
public class SamsqlDemoController {

    @Autowired
    SamsqlDemoService demoService;



    @GetMapping("/getObject")
    public Object getObject(HttpServletRequest request) {

        Object object = demoService.getObject(request);
        return object;
    }




}
